home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _DBDD391814BF4ADC95BFB23D595C8F92 < prev    next >
Encoding:
Text File  |  2004-03-04  |  1.6 KB  |  66 lines

  1. light("omni")
  2. {
  3.     pass()
  4.     {
  5.         tmu()
  6.         {
  7.             Texture()
  8.             {
  9.                 Image(%detail1texture)
  10.             }
  11.             colorop("mul", "texture", "tfactor", "current")
  12.             alphaop("mul", "texture", "tfactor", "current")
  13.         }
  14.         tmu()
  15.         {
  16.             TexGen("planar")
  17.             TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
  18.             Texture()
  19.             {
  20.                 Image(%colortexture)
  21.             }
  22.             colorop("mul", "texture", "current", "current")
  23.             alphaop("mul", "texture", "current", "current")
  24.         }
  25.  
  26.         tmu()
  27.         {
  28.             texture()
  29.             {
  30.                 image("dynlight2d.png")
  31.                 addressfunc("clamp", "clamp", "clamp")
  32.                 filtering("linear_no_mip")
  33.             }
  34.  
  35.             texgen("dynlight2d")
  36.  
  37.             colorop("mul", "texture", "current", "current")
  38.             alphaop("mul", "texture", "current", "current")
  39.         }
  40.  
  41.         tmu()
  42.         {
  43.             texture()
  44.             {
  45.                 image("dynlight1d.png")
  46.                 addressfunc("clamp", "clamp", "clamp")
  47.                 filtering("linear_no_mip")
  48.             }
  49.  
  50.             texgen("dynlight1d")
  51.  
  52.             colorop("mul", "texture", "current", "current")
  53.             alphaop("mul", "texture", "current", "current")
  54.         }
  55.  
  56.         tfactor(1,1,1,1)
  57.         colorgen("tfactor", "user", 0,0,0, "user", 0,0,0)
  58.  
  59.         blendfunc("one", "one")
  60.         depthfunc("lequal", 0)
  61.  
  62.         blackfog()
  63.     }
  64. }
  65.  
  66.